v4.1.x: fbtl/posix: ensure progressing aio requests#8375
Merged
jsquyres merged 1 commit intoopen-mpi:v4.1.xfrom Jan 19, 2021
Merged
v4.1.x: fbtl/posix: ensure progressing aio requests#8375jsquyres merged 1 commit intoopen-mpi:v4.1.xfrom
jsquyres merged 1 commit intoopen-mpi:v4.1.xfrom
Conversation
This commit fixes a bug discovered while debugging issue open-mpi#8350 Running our testsuite on Mac OS revealed that posted a large number of non-blocking read/write operations leads to an error message on this platform. A fix is already available and will be committed shortly. The issue stems from limitations on macOs and the concurrent number of aio_read/aio_write operations that can be pending. While the code already handled that correctly for a single request, this bug exposed that the overall limited has to be respected across all pending requests. The solution is to invoke mca_common_ompio_progress if we cannot post new aio operations. Fixes issue open-mpi#8368 Signed-off-by: Edgar Gabriel <egabriel@central.uh.edu> (cherry picked from commit 0c4f4e2)
raafatfeki
approved these changes
Jan 14, 2021
Member
|
bot:ompi:retest |
Member
|
Merged into v4.0.x |
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
This commit fixes a bug discovered while debugging issue #8350 Running our testsuite on Mac OS revealed that posted a large number of non-blocking read/write operations leads to an error message on this platform. A fix is already available and will be committed shortly.
The issue stems from limitations on macOs and the concurrent number of aio_read/aio_write operations that can be pending. While the code already handled that correctly for a single request, this bug exposed that the overall limited has to be respected across all pending requests.
The solution is to invoke mca_common_ompio_progress if we cannot post new aio operations.
Fixes issue #8368
Signed-off-by: Edgar Gabriel egabriel@central.uh.edu
(cherry picked from commit 0c4f4e2)